]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Don't recolor buttons and entries in dialogs and notifications
authornana-4 <hnmaigo@gmail.com>
Fri, 17 Jan 2020 11:41:10 +0000 (20:41 +0900)
committernana-4 <hnmaigo@gmail.com>
Fri, 17 Jan 2020 12:21:44 +0000 (12:21 +0000)
We should have a consistent dialog style in the whole system.

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

data/theme/gnome-shell-sass/_common.scss
data/theme/gnome-shell-sass/widgets/_notifications.scss

index aea0dbbc314ce98bea30a32927f5bf3210b0e897..64783486a033781a613bcf33e076d66853eab377 100644 (file)
@@ -107,36 +107,6 @@ stage {
   color: $fg_color;
   background-color: $bg_color;
   border: 1px solid if($variant=='light', rgba(0,0,0, 0.6), $borders_color);
-
-  // entry
-  StEntry { @extend %bubble_entry;}
-
-  // button
-  .button {
-    background-color: $bg_color;
-    color: $fg_color;
-    box-shadow: none;
-
-    &, &:hover, &:focus, &:active, &:disabled { 
-      border-color: $bubble_borders_color;
-    }
-
-    &:hover { background-color: $hover_bg_color;}
-    &:active { 
-      background-color: $selected_bg_color;
-      color: $selected_fg_color;
-    }
-    &:disabled { color: $insensitive_fg_color;}
-  }
-}
-
-// entries in dialogs
-%bubble_entry {
-  color: $fg_color;
-  background-color: darken($bg_color, 2%);
-  border-color: $bubble_borders_color;
-  box-shadow: none;
-  &:focus { border: 2px solid $selected_bg_color;}
 }
 
 // button styling
@@ -158,7 +128,6 @@ stage {
 %bubble_button {
   @include button(normal, $shadow: none);
   padding: $base_padding * 2;
-  border-color: $bubble_borders_color;
   border-style: solid;
   border-width: 1px;
   border-left-width: 0;
index cc0a0852a469f893c6f1b8e3a766d47141477061..4bcbb68a32c0634f98f445058930a45084a3cc48 100644 (file)
@@ -27,9 +27,6 @@ $notification_banner_width: 34em;
     color: $fg_color;
   }
 
-  // entries
-  StEntry { @extend %bubble_entry; }
-
   .notification-icon {
     padding: 5px;
   }